home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Financial / Amortize1.x / Source / Amort.h < prev    next >
Text File  |  1993-10-10  |  2KB  |  57 lines

  1.  
  2. // Generated by Interface Builder
  3. // Modified by Eric Tremblay May 16, 1992
  4. // Revised on January 24, 1993
  5.  
  6. #import <appkit/appkit.h>
  7.  
  8. @interface Amort:Object
  9.  
  10. //Instance Variables
  11. {
  12.  
  13.     id  AmortWindow;   // The Amortize Window
  14.     id  AmortDisplay; // The main output ScrollView
  15.     id    Years;        // The input field for Years in the Term box
  16.     id  Months;       // The input field for Months in the Term box
  17.     id    Payment;      // The output Monthly payment field
  18.     id    Principal;    // The input field for Principal
  19.     id    InterestPayed;// The output field for Total interest charged
  20.     id    TotalCost;    // The output field for Total cost of loan
  21.     id    InterestRate; // The input field for Interest rate %
  22.     id  document;     // The document in the ScrollView
  23.     int mbeg;         // Input for the beginning month
  24.     int sysMonth, sysYear;
  25.     char *filename;
  26.      
  27. }
  28.  
  29. // Action Methods
  30.  
  31. - awakeFromNib; // System call
  32.  
  33. - Calc:sender;         // This calc's the info and prints it to the screen
  34.  
  35. - setFileName:(const char *)aFilename;
  36. - SaveAs:sender;
  37. - SaveFile:sender;     // This generates an Amortization table to a file
  38.  
  39.  
  40. - appendText:sender;   // Appends text at the end of the scrollView
  41. - PrintTable:sender;   // Print the AmortDisplay on the printer
  42.  
  43. - January:sender;      // Used to assign a number to mbeg (Starting month)
  44. - February:sender;
  45. - March:sender;
  46. - April:sender;
  47. - May:sender;
  48. - June:sender;
  49. - July:sender;
  50. - August:sender;
  51. - September:sender;
  52. - October:sender;
  53. - November:sender;
  54. - December:sender;
  55.  
  56. @end
  57.